﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yunwei.Domain.Models;

namespace Yunwei.IBizLogic
{
    public interface IShoppingCartService : IBaseService<ShoppingCart>
    {
        ShoppingCart FindByUserId(int user_Id, int food_Id);
        IQueryable<ShoppingCart> FindList(int number, int user_Id, int food_Id, int restaurant_Id, int orderCode);
        IQueryable<ShoppingCart> FindPageList(out int totalRecord, int pageIndex, int pageSize, int user_Id, int food_Id, int restaurant_Id, int order);
        IQueryable<ShoppingCart> Order(IQueryable<ShoppingCart> entitys, int orderCode);
    }
}
